package com.ganbo.rabbitmq.common.enums;

import lombok.Getter;

/**
 * 本地消息状态
 *
 * @Author: ganbo
 * @Date: 2021/6/11 12:24
 */

@Getter
public enum MessageStatus {

    e1(1, "已发送"),
    e2(2, "发送成功"),
    e3(3, "消费成功"),
    ;

    int code;
    String message;

    MessageStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
